@import '@/assets/scss/baseColor.scss';

.insp {
  width: 100%;
  height: 86vh;


  .lf {
    float: left;
  }

  .rf {
    float: right;
  }

  .mLeft20 {
    margin-left: 20px;
  }

  .mLeft15 {
    margin-left: 15px;
  }

  .mLeft6 {
    margin-left: 6px;
  }

  .mRight6 {
    margin-right: 6px;
  }

  .mRight10 {
    margin-right: 10px;
  }


  .flexBetween {
    display: flex;
    justify-content: space-between;
  }



  &-header {
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 5px 0px rgba(232, 232, 232, 0.53);
    border-radius: 2px;
    margin-bottom: 10px;
    padding: 15px 10px 0;
  }

  &-content {
    width: 100%;
    height: calc(100% - 64px - 10px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 5px 0px rgba(232, 232, 232, 0.53);
    border-radius: 2px;
    padding-bottom: 25px;
    position: relative;
  }

  &-table {
    width: 100%;
    height: 660px;

    &-label {
      display: inline-block;
      padding: 0 10px;
      border-radius: 2px;
      height: 28px;
      line-height: 28px;
    }
  }

  &-model {
    &-page {
      width: 100%;
      margin-top: 25px;
      text-align: center;
    }
  }

  &-page {
    width: 100%;
    margin-top: 15px;
    text-align: center;
    // position: absolute;
    // bottom: 30px;
  }

  &-btn {
    &-add {
      color: #32D17E;
      border-radius: 2px;
      border: 1px solid #32D17E;

      &:focus,
      &:hover {
        color: #32D17E;
        border-color: #32D17E;
        background-color: #E7FAEF;
      }
    }

    &-audit {
      color: #327BDC;
      border-radius: 2px;
      border: 1px solid #327BDC;

      &:focus,
      &:hover {
        color: #327BDC;
        border-color: #327BDC;
        background-color: #C0D7F5;
      }

    }
  }

  &-timeLine {
    display: flex;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;

    &-item {
      flex: 1;
    }

    &-dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      background: #BEC4D0;
      border: 2px solid #BEC4D0;
      border-radius: 100%;
      vertical-align: text-bottom;
    }

    .active {
      background: #327BDC;
    }

    .complete {
      background: #327BDC;
      border: 2px solid #327BDC;
    }

    .completeText {
      color: #327BDC;
    }

    .noText {
      color: #BEC4D0;
    }

    .progress {
      border: 2px solid #327BDC;
      background: #fff;
    }

    &-border {
      display: inline-block;
      width: calc(100% - 10px);
      height: 2px;
      background: #BEC4D0;
      ;
    }

    &-time {
      font-size: 12px;
      font-weight: 500;
      color: rgba(190, 196, 208, 1);
      line-height: 17px;
      margin-top: 5px;

    }


    &-info,
    &-label {
      font-size: 12px;
      font-weight: 500;
      color: #BEC4D0;
      line-height: 28px;
      margin-left: -20px;
    }
  }

  &-task {
    &-addPage {
      width: 100%;
      // overflow-y: auto;
      // max-height: 766px;
      padding: 0 30px 20px;

      h3 {
        color: $mainColor;
        font-size: 18px;
        font-weight: 500;
        line-height: 56px;
        background: #fff;
        box-shadow: 0px 0px 5px 0px rgba(232, 232, 232, 0.53);
        border-radius: 2px;
        padding-left: 15px;
      }

      &-basic {
        border-bottom: 1px solid #D3DBEB;
        margin-bottom: 20px;
        padding-bottom: 5px;
      }

      &-line {
        border: 1px solid #D3DBEB;
        padding: 13px 0;
        overflow: hidden;
        margin-bottom: 10px;
      }

      &-left {
        width: calc(100% - 50px);
        float: left;
      }

      &-right {
        width: 50px;
        float: left;
        margin-top: 30px
      }

      &-item {
        float: left;
      }

      &-btn {
        text-align: center;
        margin: 30px 0;
      }
    }

    &-form {
      background: #fff;
      box-shadow: 0px 0px 5px 0px rgba(232, 232, 232, 0.53);
      border-radius: 2px;
      padding: 20px 10px;
    }

    &-topBtn {
      width: 100%;
      height: 56px;
      line-height: 56px;
      padding: 0 10px;
    }

    &-list {
      width: 100%;
      box-shadow: 0px 0px 5px 0px rgba(232, 232, 232, 0.53);
      border-radius: 2px;
      margin: 15px 0;
      background: #fff;
      position: relative;
      padding-bottom: 20px;

      h3 {
        padding: 0 30px;
        color: $mainColor;
        font-size: 18px;
        font-weight: 500;
        line-height: 56px;
        padding-left: 15px;
      }
    }


  }

  &-total {
    width: 100%;
    padding-top: 20px;
    overflow: hidden;

    &-left {
      width: calc(100% - 484px);
      float: left;
    }

    &-right {
      width: 484px;
      float: right;
      padding-left: 10px;
      height: 86vh;
    }

    &-middle {
      float: left;
      width: 50%;

      &:first-child {
        padding-right: 5px;
      }

      &:last-child {
        padding-left: 5px;
      }
    }

    &-typeAnalysis,
    &-sum {
      width: 100%;
      height: 200px;
    }

    &-taskDetail {
      width: 100%;
      height: calc(86vh - 75px - 20px);
      min-height: 621px;
    }

    &-taskNoData {
      width: 100%;
      height: calc(86vh - 75px);
      min-height: 621px;
      position: relative;
    }

    &-noDataImage {
      position: absolute;
      width: 400px;
      height: 300px;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;

    }

    &-top {
      width: 100%;
      overflow: hidden;
    }

    &-bottom {
      margin-top: 10px;
      width: 100%;
      height: calc(86vh - 275px - 10px);
      min-height: 396px;
      background: #fff;
    }

    &-taskBox {
      margin-top: 20px;
      width: 100%;

      &-header {
        margin-bottom: 21px;

        label {
          padding: 5px 8px;
          font-size: 12px;
          font-weight: 500;
          color: #8998AC;
          line-height: 16px;
          background: #EDF0F5;
          position: relative;

          &:after {
            content: '';
            display: block;
            position: absolute;
            bottom: 0;
            right: -13px;
            width: 0;
            height: 0;
            border-top: 13px solid transparent;
            border-bottom: 13px solid transparent;
            border-left: 13px solid #EDF0F5;

          }
        }
      }



      &-content {
        width: 100%;
        overflow: hidden;
      }

      &-table {
        width: 100%;
        height: calc(100% - 154px - 218px - 20px);
      }

      &-tableDiv {
        width: 100%;
        height: calc(100% - 21px - 21px - 10px);
      }

      &-div {
        width: 50%;
        font-size: 14px;
        font-weight: 400;
        color: #333;
        float: left;
        line-height: 44px;

        span {
          display: block;
          float: left;
        }

        &.fix {
          width: 100%
        }
      }

      &-one {
        color: #999;
        width: 65px;
      }

      &-two {
        width: calc(100% - 65px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    &-timeLine {
      padding: 0 45px;
    }
  }

  &-healthy {
    width: 100%;
    height: 300px;
    margin-top: 20px;

    &-echart {
      width: 100%;
      height: 100%;
    }
  }

  &-popup {
    &-detail {
      label {
        display: block;
        width: 80px;
        text-align: left;
        font-size: 14px;
        color: #666;
        line-height: 60px;
        float: left;
      }

      span {
        display: block;
        line-height: 60px;
        width: calc(100% - 80px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #444;
        float: left;
      }

      span.over {
        display: inline-block;
        line-height: 60px;
        width: calc(100% - 100px);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        color: #444;
      }

      span.imageList {
        overflow: hidden;

        .imageList-div {
          float: left;
          width: 70px;
          height: 70px;
          margin-right: 10px;
          cursor: pointer;
        }

        .imageList-div-video {
          width: 100%;
          height: 100%;
          position: relative;
          background: #F5F7FA;

          em {
            display: block;
            width: 45px;
            height: 45px;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;
            left: 0;
            margin: auto;
          }
        }
      }


    }
  }

  .inspTypeA {
    background: rgba(231, 250, 239, 1);
    color: rgba(42, 199, 112, 1);
  }

  .inspTypeB {
    background: rgba(254, 231, 208, 1);
    color: rgba(255, 159, 67, 1);
  }

  .inspTypeC {
    color: rgba(116, 103, 240, 1);
    background: rgba(230, 227, 253, 1);
  }

  .planStatusA {
    color: rgba(42, 199, 112, 1);
  }

  .planStatusB {
    color: rgba(58, 128, 221, 1);
  }

  .planStatusC {
    color: rgba(196, 61, 61, 1);
  }

  .planStatusD {
    color: rgba(255, 159, 67, 1);
  }



  .planStatus0 {
    color: rgba(42, 199, 112, 1);
  }

  .planStatus1 {
    color: rgba(58, 128, 221, 1);
  }

  .planStatus2 {
    color: rgba(196, 61, 61, 1);
  }

  .planStatus3 {
    color: rgba(255, 159, 67, 1);
  }

  .planStatus4 {
    color: rgba(128, 138, 135, 1);
  }

  .planStatus5 {
    color: rgba(128, 118, 105, 1);
  }

  .planStatus6 {
    color: rgba(156, 102, 31, 1);
  }

  .planStatus7 {
    color: rgba(255, 127, 80, 1);
  }

  .planStatus8 {
    color: rgba(116, 0, 0, 1);
  }

  .planStatus9 {
    color: rgba(0, 255, 255, 1);
  }

  .planStatus10 {
    color: rgba(255, 255, 0, 1);
  }

  .planStatus11 {
    color: rgba(255, 153, 18, 1);
  }

  .planStatus12 {
    color: rgba(227, 207, 87, 1);
  }

  .planStatus13 {
    color: rgba(255, 125, 64, 1);
  }

  .planStatus14 {
    color: rgba(237, 145, 33, 1);
  }

  .planStatus15 {
    color: rgba(85, 102, 0, 1);
  }

  .planStatus98 {
    color: rgba(128, 42, 42, 1);
  }

  .planStatus99 {
    color: rgba(199, 97, 20, 1);
  }
}
